# 项目: test reflect
set(target_name reflect_test)
project(${target_name} VERSION 1.0.0)
set(CMAKE_CXX_STANDARD 17)

# 运行测试
add_executable(${target_name} main.cpp)
target_include_directories(${target_name} PRIVATE ./src)
target_link_libraries(${target_name} PRIVATE my_reflect)

# 当前source目录 定义一个宏 供cpp引用
add_definitions(-DCMAKE_SOURCE_DIR=\"${CMAKE_SOURCE_DIR}\")